<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>IE6,IE7圆角兼容解决方案</title>
        <style>
        .box {
            width:400px;
            height: 200px;
            -moz-border-radius: 15px;                /* Firefox */
            -webkit-border-radius: 15px;             /* Safari and Chrome */
            border-radius: 15px;                     /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
         
            -moz-box-shadow: 10px 10px 20px #000;    /* Firefox */
            -webkit-box-shadow: 10px 10px 20px #000; /* Safari and Chrome */
            box-shadow: 10px 10px 20px #000;         /* Opera 10.5+, future browsers and IE6+ using IE-CSS3 */
         
            /*behavior: url(asserts/ie/ie-css3.htc);*/
            /* This lets IE know to call the script on all elements which get the 'box' class */
            behavior: url('asserts/ie/ie-css3-enhance.htc'); 
        }
        </style>
        <script src="http://cdn.bootcss.com/jquery/1.8.2/jquery.min.js"></script>
    </head>
    <body>
        <div class="box" id="box">保护身体，好好学习</div>
        <script>
            // var el=document.getElementById('box');
            // el.innerHTML = '....';
            // if(window.update_css3_fix) update_css3_fix(el);
            (function()
            {
                if (!jQuery.browser.msie) return;
                jQuery.fn.__ohtml__ = jQuery.fn.html;
                jQuery.fn.html = function(value)
                {
                    jQuery(this).__ohtml__(value);
                    this.each(function()
                    {
                        update_css3_fix(this);
                    });
                    return this;
                };
            })();
            var $box=$("#box");
            $box.html('小狗钱钱，身体是革命的本钱');
        </script>
    </body>
</html>